<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>作业3</title>
	<script>
		//将数组 arr = [hello,12,80,3,jack,HELLO] 拼接成字符串
		/*'[hello,12,80,3,jack,HELLO]'*/
		  var arr1=['['];
		  var arr2=[']'];
		  var arr3=['\'&nbsp'];
		  var arr4=['&nbsp\''];
		  var arr = ['hello',12,80,3,'jack','HELLO'];
		      document.write(arr3.sort());
              document.write(arr1.sort());
              document.write(arr.toString());
			  document.write(arr2.sort());
			  document.write(arr4.sort());

	</script>
</head>
<body>
	
</body>
</html>